﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace S.EliminationOrDath.Domain.Migrations
{
    public partial class 添加当前栋舍栏位 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "CurrentColumnName",
                table: "EliminationModel",
                newName: "TurnOutHuts");

            migrationBuilder.RenameColumn(
                name: "CurrentBuildingName",
                table: "EliminationModel",
                newName: "TurnOutBuild");

            migrationBuilder.RenameColumn(
                name: "ColumnName",
                table: "EliminationModel",
                newName: "ShiftToHuts");

            migrationBuilder.RenameColumn(
                name: "BuildingName",
                table: "EliminationModel",
                newName: "ShiftToBuild");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "TurnOutHuts",
                table: "EliminationModel",
                newName: "CurrentColumnName");

            migrationBuilder.RenameColumn(
                name: "TurnOutBuild",
                table: "EliminationModel",
                newName: "CurrentBuildingName");

            migrationBuilder.RenameColumn(
                name: "ShiftToHuts",
                table: "EliminationModel",
                newName: "ColumnName");

            migrationBuilder.RenameColumn(
                name: "ShiftToBuild",
                table: "EliminationModel",
                newName: "BuildingName");
        }
    }
}
